/**
* Syntax highlighting styles
*/
.highlight {
  margin: $base-spacing 0;
  padding: 0;
  box-shadow: $base-box-shadow;

  .highlighter-rouge &, &, .hll, pre, code {
    background-color: $base-bg-color !important;
  }

  pre {
    margin: 0;
    padding: 5px 10px !important;
    white-space: pre;
    line-height: 23px;
    overflow-x: auto;
    margin-bottom: 0;
    word-break: inherit;
    word-wrap: inherit;

    &, code {
      color: $base-font-color;
    }

    code {
      white-space: pre;
      padding: 0 !important;

      * {
	       white-space: pre; // this sets all children inside to nowrap
      }
    }
  }

  .cm {
    color: #999988;
    font-style: italic;
  }
  .cp {
    color: #999999;
    font-weight: bold;
  }
  .c1 {
    color: #999988;
    font-style: italic;
  }
  .cs {
    color: #999999;
    font-weight: bold;
    font-style: italic;
  }
  .c, .ch, .cd, .cpf {
    color: #999988;
    font-style: italic;
  }
  .err {
    color: #a61717;
    background-color: #e3d2d2;
  }
  .gd {
    color: #000000;
    background-color: #ffdddd;
  }
  .ge {
    color: #000000;
    font-style: italic;
  }
  .gr {
    color: #aa0000;
  }
  .gh {
    color: #999999;
  }
  .gi {
    color: #000000;
    background-color: #ddffdd;
  }
  .go {
    color: #888888;
  }
  .gp {
    color: #555555;
  }
  .gs {
    font-weight: bold;
  }
  .gu {
    color: #aaaaaa;
  }
  .gt {
    color: #aa0000;
  }
  .kc {
    color: #000000;
    font-weight: bold;
  }
  .kd {
    color: #000000;
    font-weight: bold;
  }
  .kn {
    color: #000000;
    font-weight: bold;
  }
  .kp {
    color: #000000;
    font-weight: bold;
  }
  .kr {
    color: #000000;
    font-weight: bold;
  }
  .kt {
    color: #445588;
    font-weight: bold;
  }
  .k, .kv {
    color: #000000;
    font-weight: bold;
  }
  .mf {
    color: #009999;
  }
  .mh {
    color: #009999;
  }
  .il {
    color: #009999;
  }
  .mi {
    color: #009999;
  }
  .mo {
    color: #009999;
  }
  .m, .mb, .mx {
    color: #009999;
  }
  .sb {
    color: #d14;
  }
  .sc {
    color: #d14;
  }
  .sd {
    color: #d14;
  }
  .s2 {
    color: #d14;
  }
  .se {
    color: #d14;
  }
  .sh {
    color: #d14;
  }
  .si {
    color: #d14;
  }
  .sx {
    color: #d14;
  }
  .sr {
    color: #009926;
  }
  .s1 {
    color: #d14;
  }
  .ss {
    color: #990073;
  }
  .s, .sa, .dl {
    color: #d14;
  }
  .na {
    color: #008080;
  }
  .bp {
    color: #999999;
  }
  .nb {
    color: #0086B3;
  }
  .nc {
    color: #445588;
    font-weight: bold;
  }
  .no {
    color: #008080;
  }
  .nd {
    color: #3c5d5d;
    font-weight: bold;
  }
  .ni {
    color: #800080;
  }
  .ne {
    color: #990000;
    font-weight: bold;
  }
  .nf, .fm {
    color: #990000;
    font-weight: bold;
  }
  .nl {
    color: #990000;
    font-weight: bold;
  }
  /* .nn {
    color: #555555;
  } */
  .nt {
    color: #000080;
  }
  .vc {
    color: #008080;
  }
  .vg {
    color: #008080;
  }
  .vi {
    color: #008080;
  }
  .nv, .vm {
    color: #008080;
  }
  .ow {
    color: #000000;
    font-weight: bold;
  }
  .o {
    color: #000000;
    font-weight: bold;
  }
  .w {
    color: #bbbbbb;
  }
}
